home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 13 - 1997 (partial) / 13.02 Feb 97 / SerialKiller SN Generator / Generator.h < prev    next >
Encoding:
Text File  |  1996-10-22  |  807 b   |  29 lines  |  [TEXT/CWIE]

  1. //////////////////////////////////////////////
  2. //                                            //
  3. //    Generator.h                                    //
  4. //                                            //
  5. //    Copyright 1996 1 A.M. Productions        //
  6. //    Aug 8,1996                                //
  7. //                                            //
  8. //////////////////////////////////////////////
  9.  
  10. #ifndef __MAIN__
  11. #define __MAIN__
  12.  
  13. #define kCancelButton 2
  14. #define kOKButton 1
  15. #define kESC 0x35
  16.  
  17. #define KeyMapLoMem            ((unsigned char *)0x174)
  18. #define ThisKey(key)        ((KeyMapLoMem[key >> 3] >> (key & 7)) & 1)
  19.  
  20. void main();
  21. void CalculateValues(long start, long end);
  22. void ProduceValue(long num, Str255 retStr);
  23. void GetNumbers(long *start,long *end);
  24. //void CopyString(Str255 destination,Str255 source);
  25. pascal Boolean StdFilter(DialogPtr theDialog, EventRecord *theEvent, short *itemHit);
  26. void LongToStr(long num, Str255 str);
  27. //Boolean CheckValue(Str255 valStr);
  28.  
  29. #endif